package com.cloud.common.exception;

public enum BizCodeEnums {
    UNKNOW_EXCEPRION(10000, "系统未知异常"),
    VAILD_EXCEPTION(10001, "参数校验失败");

    private Integer code;
    private String msg;

    BizCodeEnums(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
